package com.jxl.common.entity;

import lombok.Data;

import java.util.Collections;
import java.util.List;

/**
 * 分页返回
 */
@Data
public class PageResult<T> {

    //页数
    private Long pageNo = 1L;

    //每页大小
    private Long pageSize = 10L;

    //总数
    private Long total = 0L;

    //总页数
    private Long totalPage=0L;

    //数据
    private List<T> result= Collections.emptyList();

    private Long start = 0L;

    private Long end = 0l;
}
